﻿<Window
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"   x:Class="AIPASoft.SecurityLibrary.LoginWindow" 
             mc:Ignorable="d" Height="275" Width="310" Background="Tan" Name="LoginForm" ScrollViewer.VerticalScrollBarVisibility="Disabled" ResizeMode="NoResize" Topmost="True" WindowStartupLocation="CenterScreen" WindowStyle="ToolWindow" >
    <Grid Height="225" VerticalAlignment="Top" Margin="10,10,0,-20" HorizontalAlignment="Left" Width="292">
        <Button Name="btnCancel" Content="Cancel" HorizontalAlignment="Left" Margin="204,203,0,0" VerticalAlignment="Top" Width="75" Command="{Binding CloseCommand}"/>
        <Button Name="btnLogin" Content="Login" HorizontalAlignment="Left" Margin="124,203,0,0" VerticalAlignment="Top" Width="75" Command="{Binding LoginCommand}"/>
        
        <Label Content="User Name" HorizontalAlignment="Left" Margin="5,130,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.187,0.421" Width="77"/>
        <TextBox HorizontalAlignment="Left" Height="23" Margin="100,130,0,0" TextWrapping="Wrap" Text="{Binding UserName}"  VerticalAlignment="Top" Width="182"/>
        
        <Label Content="Password" HorizontalAlignment="Left" Margin="5,155,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.187,0.421" Width="77"/>
        <TextBox HorizontalAlignment="Left" Height="23" Margin="100,158,0,0" TextWrapping="Wrap" Text="{Binding Password}" VerticalAlignment="Top" Width="182"/>
        


    </Grid>
</Window>
